@import "./base.scss";
@mixin typearea($value, $color) {
  min-width: 1200px;
  width: 100%;
  height: $value;
  background: $color;
  font-size: 14px;
  color: #232628;
}
@mixin typearea1 {
  width: 1200px;
  margin: 0 auto;
}
@mixin color {
  a:hover {
    color: #ff6a00;
  }
}
@font-face {
  font-family: "iconfont"; /* project id 3291276 */
  src: url("");
  src: url("?#iefix") format("embedded-opentype"),
    url("//at.alicdn.com/t/font_3291276_wh2tm92vm0a.woff2") format("woff2"),
    url("//at.alicdn.com/t/font_3291276_wh2tm92vm0a.woff") format("woff"),
    url("//at.alicdn.com/t/font_3291276_wh2tm92vm0a.ttf") format("truetype"),
    url("#iconfont") format("svg");
}
.iconfont {
  font-style: normal;
  font-family: "iconfont" !important;
  -webkit-font-smoothing: antialiased;
  vertical-align: middle;
}
.nav_top {
  @include typearea(40px, #f3f5f7);
  font-size: 12px;

  .nav {
    @include typearea1;
    line-height: 40px;
    .nav1 {
      float: left;
      li:first-child {
        padding: 0 16px 0 0;
      }
      .wx {
        position: relative;
        div {
          display: none;
          position: absolute;
          background-color: #fff;
          width: 100%;
          min-width: 160px;
          margin-left: -18px;
          text-align: center;
          line-height: 18px;
          border: 1px solid #e9ecf0;
          border-top-color: transparent;
          img {
            width: 124px;
            margin-left: 16px;
            margin-top: 16px;
            box-sizing: border-box;
          }
          p {
            margin: 10px 0;
          }
        }
      }
      .wx:hover div {
        display: block;
        z-index: 10;
      }
      .wx:hover {
        background-color: #fff;
      }
      .hwapp {
        position: relative;
        div {
          display: none;
          position: absolute;
          width: 100%;
          min-width: 160px;
          margin-left: -18px;
          background: #fff;
          padding: 12px;
          font-size: 12px;
          line-height: 18px;
          color: #232628;
          border: 1px solid #e9ecf0;
          border-top-color: transparent;
          text-align: center;
          img {
            width: 100%;
            vertical-align: middle;
          }
        }
      }
      .hwapp:hover div {
        display: block;
        z-index: 10;
      }
      .hwapp:hover {
        background-color: #fff;
      }
      span {
        display: inline-block;
        width: 14px;
        height: 14px;
        margin-top: 12px;
        margin-right: 4px;
        vertical-align: top;
        background: url(../images/common_sprite.png) no-repeat;
      }
      .collect {
        background-position: 0px -22px;
      }
      .attention {
        background-position: -24px -22px;
      }
      .app {
        background-position: -48px -22px;
      }
    }
    .nav2 {
      float: right;
      li:last-child {
        padding: 0 0 0 16px;
      }
      .serve {
        position: relative;
      }
      .serve div {
        display: none;
        position: absolute;
        left: 0px;
        top: 100%;
        width: 100%;
        background-color: #fff;
        line-height: 24px;
        a {
          display: block;
          height: 24px;
          padding: 0px 22px;
          font-size: 12px;
          box-sizing: content-box;
        }
      }
      .serve:hover {
        background-color: #fff;
        z-index: 10;
      }
      .serve:hover div {
        display: block;
      }
      .kf {
        display: inline-block;
        width: 8px;
        height: 8px;
        margin-left: 5px;
        background-image: url(../images/top_nav_arrow.png);
        background-position: top center;
        background-size: 8px 8px;
        transition: transform 0.2s;
      }
      .serve:hover .kf {
        transform: rotate(180deg);
      }
      a > .gwcCount {
        color: #ff6a00;
      }
    }
    li {
      float: left;
      padding: 0 16px;
      color: #71797f;
      position: relative;
    }
    li a:hover {
      color: #ff6a00;
    }
  }
}
.header_top {
  @include typearea(120px, #f7f9fa);
  .header {
    @include typearea1;
    position: relative;
    .hea_logo {
      width: 238px;
      height: 90px;
      float: left;
      a {
        display: inline-block;
        width: 238px;
        height: 60px;
        background: url(../images/big-logo.png) no-repeat center;
        background-size: 100%;
        background-position: 0 -26px;
        margin-top: 30px;
      }
    }
    .hea_search {
      width: 440px;
      margin: 0 auto;
      padding-top: 25px;
      .form_con {
        box-sizing: border-box;
        position: relative;
        width: 440px;
        height: 48px;
        border-radius: 24px;
        border: 2px solid #ff734c;
        input {
          box-sizing: border-box;
          width: 264px;
          height: 100%;
          font-size: 14px;
          border: none;
          outline: none;
          background-color: inherit;
          color: #232628;
          padding: 0;
        }
        button {
          position: absolute;
          top: 0px;
          right: -2px;
          width: 118px;
          height: 100%;
          border-radius: 24px;
          outline: none;
          border: none;
          font-size: 18px;
          font-weight: bold;
          color: #fff;
          background: linear-gradient(90deg, #ff734c 0%, #ff3d12 100%);
        }
      }
      .sea_img {
        display: inline-block;
        width: 54px;
        height: 100%;
        vertical-align: top;
        text-align: center;
        span {
          display: inline-block;
          width: 16px;
          height: 16px;
          margin-top: 16px;
          background-image: url(../images/common_sprite.png);
          background-repeat: no-repeat;
          background-position: 0 -48px;
          vertical-align: top;
        }
      }
      .hea_list {
        box-sizing: border-box;
        margin-top: 8px;
        margin-left: 44px;
        font-size: 12px;
        line-height: 16px;
        color: #b4babf;
        a {
          margin: 0 14px;
          color: inherit;
        }
        a:hover {
          color: #ff6a00;
        }
      }
    }
    .hea_serve {
      position: absolute;
      top: 0;
      right: 0;
      width: 350px;
      padding-top: 25px;
      line-height: 18px;
      text-align: right;
      .phone {
        display: inline-block;
        font-size: 14px;
        color: #71797f;
        vertical-align: top;
        line-height: 18px;
        text-align: right;
        span {
          background-position: 0 -102px;
        }
        div {
          display: inline-block;
          margin-top: 15px;
          vertical-align: top;
          text-align: left;
        }
      }
      span {
        display: inline-block;
        width: 24px;
        height: 24px;
        margin-top: 12px;
        margin-right: 8px;
        background: url(../images/common_sprite.png) no-repeat;
        vertical-align: top;
      }
      .service {
        display: inline-block;
        margin-left: 40px;
        font-size: 14px;
        color: #71797f;
        vertical-align: top;
        span {
          background-position: -34px -102px;
        }
        div {
          display: inline-block;
          margin-top: 15px;
          vertical-align: top;
          text-align: left;
        }
        a:hover {
          color: #ff6a00;
        }
      }
    }
  }
}
.nav_goods {
  @include typearea(52px, #f7f9fa);
  position: relative;
  border-bottom: 1px solid #e9ecf0;
  .nav_goo {
    @include typearea1;
    height: 100%;
    .nav_classify {
      position: relative;
      width: 240px;
      height: 52px;
      float: left;
      border-radius: 12px 12px 0 0;
      background: linear-gradient(90deg, #ff734c 0%, #ff3d12 100%);
      h3 {
        padding-left: 24px;
        font-size: 18px;
        line-height: 52px;
        span {
          display: inline-block;
          width: 24px;
          height: 24px;
          background: url(../images/common_sprite.png) no-repeat;
          background-position: -68px -102px;
          vertical-align: top;
          margin-top: 14px;
          margin-right: 4px;
        }
        a {
          color: #fff;
          font-weight: bold;
        }
      }
      
    }
    ul {
      margin-top: 5px;
      li {
        display: inline-block;
        font-size: 14px;
        line-height: 24px;
        padding: 0 4px;
        a {
          color: #fff;
        }
        @include color();
      }
    }
    .nav_classify_list {
      margin: 0 0 0 265px;
      height: 100%;
      li {
        float: left;
        margin: 0 14px;
        font-size: 18px;
        line-height: 52px;
        a {
          font-weight: bold;
          color: #232628;
        }
      }
    }
    .nav_classify_list li:hover a {
      color: #ff6a00;
    }
  }
}
.crumbWrap{
  @include typearea(44px,#fff );
  font-size: 13px;
  color: #71797f;
  line-height: 44px;
  .crumb{
    @include typearea1();
    a{
      margin-right: 2px;
    }
    @include color();
  }
}
.productWrap{
  position: relative;
  .product-intro{
    @include typearea1();
    position: relative;
    overflow: hidden;
    .product-preview{
      float: left;
      width: 460px;
      vertical-align: top;
      border-radius: 8px;
      overflow: hidden;
      .preview-bigimage{
        position: relative;
        width: 100%;
        height: 500px;
        text-align: center;
        overflow: hidden;
        border: 1px solid #e9ecf0;
        border-radius: 8px;
        .swiper-container{
          height: 100%;
          margin: 0 auto;
          position: relative;
          overflow: hidden;
          list-style: none;
          padding: 0;
          z-index: 1;
          .swiper-wrapper{
            position: relative;
            height: 100%;
            width: 100%;
            z-index: 1;
            .smallswiper{
              display: none;
              position: absolute;
              left: 20px;
              top:0;
              width: 150px;
              height: 150px;
              background: rgba(250, 200, 219, 0.4);
              z-index: 1;
            }
            .swiper-slide{
              position: absolute;
              width: 458px;
              img{
                width: 100%;
                vertical-align: middle;
                display: inline-block;
              }
            }
            .swiper-slide-active{
              position: relative;
              top: 0;
              left: 0;
              right: 0;
              bottom: 0;
              margin: auto;
              width: 100%;
            }
          }
        }
      }
      .preview-list{
        height: 80px;
        margin-top: 20px;
        overflow: hidden;
        text-align: center;
        .preview-list-item:first-child{
          margin-left: 0;
        }
        .preview-list-item{
          position: relative;
          display: inline-block;
          width: 80px;
          height: 80px;
          margin-left: 20px;
          overflow: hidden;
          text-align: center;
          border: 1px solid #E9ECF0;
          padding: 1px;
          border-radius: 8px;
          img{
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
            width: 76px;
            vertical-align: middle;
          }
        }
        .preview-list-item.active{
          border: 2px solid #FF734C;
          padding: 0;
        }
      }
    }
    .bigswiper{
      display: none;
      position: absolute;
      width: 460px;
      height: 460px;
      left: 470px;
      top: 20px;
      overflow: hidden;
      z-index: 999;
      img{
        width: 1380px;
        vertical-align: middle;
        position: absolute;
        top: 0;
        left: 0;
      }
    }
    .product-info{
      float: left;
      width: 740px;
      padding-left: 80px;
      vertical-align: top;
      .product-info-area{
        position: relative;
        min-height: 418px;
        padding-bottom: 94px;
        .title-name{
          font-size: 22px;
          line-height: 22px;
          color: #232628;
          font-weight: bold;
        }
        .title-li{
          margin-top: 8px;
          .title-point{
            font-size: 16px;
            line-height: 20px;
            color: #FF3D12;
          }
          .title-desc{
            margin-left: 12px;
            font-size: 16px;
            line-height: 20px;
            color: #232628;
          }
        }
        .price{
          position: relative;
          margin-top: 12px;
          padding: 12px 0;
          background: #F3F5F7;
          border-radius: 8px 8px 0px 0px;
          .price-label{
            display: inline-block;
            width: 80px;
            padding-left: 12px;
            font-size: 13px;
            line-height: 18px;
            color: #71797F;
            vertical-align: bottom;
          }
          .price-box{
            display: inline-block;
            vertical-align: bottom;
            span{
              vertical-align: bottom;
            }
            .sell-price{
              display: inline-block;
              font-size: 30px;
              line-height: 30px;
              color: #FF3D12;
              font-weight: bold;
              opacity: 1;
            }
            .sell-price::before{
              content: "￥";
              display: inline-block;
              font-size: 24px;
              line-height: 18px;
            }
            .discount-tag-list{
              display: inline-block;
              vertical-align: top;
              margin-left: 4px;
              margin-top: 5px;
            }
            .original-price{
              display: inline-block;
              margin-left: 6px;
              color: #71797F;
              font-size: 13px;
              line-height: 18px;
              .s-price{
                vertical-align: middle;
                text-decoration: line-through;
                margin-left: 2px;
              }
            }
          }
          .sale-count{
            position: absolute;
            top: 24px;
            right: 10px;
            line-height: 18px;
            font-size: 12px;
            color: #232628;
            span{
              color: #FF3D12;
            }
          }
          .discounts{
            display: inline-block;
            vertical-align: middle;
            position: relative;
            margin-left: 0;
            .discounts-title{
              color: #232628;
              span{
                font-size: 13px;
                line-height: 18px;
                display: inline-block;
                vertical-align: bottom;
                .middle{
                  margin-right: 2px;
                }
                #wxappPrice{
                  margin-left: 2px;
                }
              }
            }
          }
          .bought-code{
            display: inline-block;
            position: relative;
            font-size: 12px;
            color: #000;
            vertical-align: middle;
            margin-left: 24px;
            cursor: pointer;
            .bought-code-icon{
              display: inline-block;
              background: url(../images/img/qrCode.png) no-repeat;
              width: 16px;
              height: 16px;
              background-size: 100%;
              vertical-align: top;
            }
          }
        }
        .huayu{
          background: transparent;
          border-bottom: 1px solid #e7ebef;
          padding: 12px 0;
          border-radius: 0px 0px 8px 8px;
          .huayu-item{
            margin-top: 12px;
            overflow: hidden;
            .huayu-label{
              float: left;
              width: 80px;
              padding-left: 12px;
              font-size: 13px;
              line-height: 18px;
              color: #71797F;
              vertical-align: top;
            }
            .huayu-content{
              float: left;
              width: 580px;
              font-size: 13px;
              line-height: 18px;
              color: #232628;
              vertical-align: top;
              text-align: justify;
              padding-right: 36px;
            }
          }
        }
        .delivery-item{
          margin: 10px 0;
          .delivery-label{
            display: inline-block;
            font-size: 13px;
            line-height: 24px;
            vertical-align: top;
            width: 80px;
            padding-left: 12px;
            color: #71797f;
          }
          .delivery-content{
            display: inline-block;
            font-size: 13px;
            line-height: 24px;
            vertical-align: top;
            color: #232628;
          }
          .delivery-range-detail{
            position: relative;
            width: 560px;
            max-height: 24px;
            overflow: hidden;
            p{
              display: block;
              padding-right: 20px;
              color: rgba(35, 38, 40, 0.9);
              white-space: normal;
            }
          }
        }
        .sku-list{
          display: inline-block;
          width: 560px;
          vertical-align: top;
        }
        .sku-box{
          position: relative;
          float: left;
          height: 44px;
          line-height: 44px;
          margin-bottom: 10px;
          margin-right: 20px;
          overflow: hidden;
          img{
            width: 40px;
            vertical-align: top;
            float: left;
          }
          .sku-name{
            padding: 0 16px;
            font-size: 14px;
            color: #232628;
            vertical-align: top;
            float: left;
          }
          .icon{
            background: url(../images/img/common_sprite.png) no-repeat;
            vertical-align: top;
          }
          .icon-chosen{
            display: block;
            position: absolute;
            bottom: 0;
            right: 0;
            width: 22px;
            height: 22px;
            background-position: 0 -374px;
          }
          i{
            position: absolute;
          }
          .sku-border-top{
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: #FF734C;
          }
          .sku-border-right{
            width: 2px;
            background: #FF734C;
            right: 0;
            top: 0;
            bottom: 0;
          }
          .sku-border-bottom{
            height: 2px;
            background: #FF734C;
            right: 0;
            left: 0;
            bottom: 0;
          }
          .sku-border-left{
            width: 2px;
            background: #FF734C;
            left: 0;
            top: 0;
            bottom: 0;
          }
        }
        
        .btn-group{
          position: absolute;
          float: left;
          bottom: 12px;
          vertical-align: middle;
          .btn-group-item{
            float: left;
            width: 208px;
            height: 56px;
            margin-right: 40px;
            border-radius: 28px;
            font-size: 22px;
            font-weight: bold;
            text-align: center;
          }
          .icon{
            display: inline-block;
            width: 24px;
            height: 24px;
            margin-top: 15px;
            margin-right: 10px;
            background: url(../images/img/common_sprite.png) no-repeat;
            vertical-align: top;
          }
          .btn-addcart{
            color: #FF734C;
            line-height: 54px;
            border: 1px solid rgba(255, 115, 76, 0.2);
            background: #FFF0EC;
           
            .icon-addcartbtn{
              background-position: -306px -102px;
            }
          }
          .btn-soonbuy{
            color: #fff;
            line-height: 56px;
            background: linear-gradient(90deg, #ff734c 0%, #ff3d12 100%);
          }
          .btn-group-guanzhu{
            float: left;
            margin-top: 18px;
            font-size: 14px;
            color: #232628;
            line-height: 20px;
            .icon-collect{
              background-position: -52px -48px;
              width: 16px;
              height: 16px;
              margin-top: 4px;
              margin-right: 8px;
            }
          }
        }
      }
    }
  }
}

// 尾部
.footer{
  background-color: #232628;
  .ft-container{
    @include typearea1();
    padding: 40px 0 46px;
    min-width: 1200px;
    .ft-nav{
      a{
        display: inline-block;
        font-size: 16px;
        line-height: 16px;
        color: #fff;
      }
      a+a{
        padding-left: 28px;
        margin-left: 33px;
        border-left: 1px solid #fff;
      }
      @include color();
    }
    .ft-site{
      margin-top: 30px;
      p{
        font-size: 12px;
        color: #71797f;
        line-height: 22px;
        span{
          display: inline-block;
          width: 20px;
          height: 20px;
          margin: 0 2px;
          background: url(../images/common_sprite.png) no-repeat;
          background-position: -360px -72px;
          vertical-align: top;
        }
        @include color();
      }
      .ft-auth{
        margin-top: 7px;
        span.icon{
          display: inline-block;
          width: 40px;
          margin-right: 12px;
          background: url(../images/common_sprite.png) no-repeat;
          vertical-align: top;
        }
        span.icon-slogan{
          width: 149px;
          height: 40px;
          background-position: -518px -136px;
        }
        a{
          display: inline-block;
          vertical-align: top;
          span.icon{
            height: 40px;
            margin-right: 12px;
          }
          span.icon-top100{
            width: 123px;
            background-position: -676px -136px;
          }
          span.icon-icp{
            width: 33px;
            background-position: -809px -136px;
          }
        }
        .ft-auth-border{
          display: inline-block;
          vertical-align: top;
          background: #fff;
          border-radius: 2px;
          margin-right: 12px;
          a{
            img{
              width: auto;
              height: 40px;
            }
          }
        }
      }
    }
    .ft-link{
      margin-top: 10px;
      color: #71797F;
      span{
        margin-right: 4px;
        font-weight: bold;
        font-size: 12px;
        line-height: 16px;
      }
      a{
        margin: 0 2px;
        font-size: 12px;
        line-height: 16px;
      }
      @include color();
    }
  }
}

.consultWrap{
  width: 100%;
  position: relative;
  .consult{
    .consult_con{
      position: fixed;
      bottom: 0;
      right: calc((100% - 1200px)/2);
      width: 144px;
      height: 40px;
      z-index: 999999;
      background: rgb(255, 102, 0);
      box-shadow: rgba(0, 0, 0, 16%) 0px 5px 14px;
      text-align: center;
      .consult_img{
        float: left;
        width: 40px;
        height: 30px;
        border-right: 1px solid rgba(0, 0, 0, 0.08);
        padding-top: 10px;
        span{
          display: inline-block;
          padding-right: 32px;
          width: 32px;
          height: 32px;
          background: url(../images/icon-mq-round@2x.png) 0px -3px/64px no-repeat;
          vertical-align: middle;
        }
      }
      .consult_txt{
        line-height: 40px;
        font-size: 16px;
        color: rgb(255, 255, 255);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: calc( 100% - 41px);
      }
    }
  }
}